{layout ./base.latte}
{block #title}Moje údaje | {include #parent}{/block}
{block #breadcrumbs}{include #parent} / Moje údaje{/block}

{block #subMenu}{/block}

{block #userContent}
<h2>Moje údaje</h2>

{if $data != NULL}
<table>
	<tr><td><a href="{link User:changeData}">Změnit údaje</a></td></tr>
	<tr><td><a href="{plink User:changePassword}">Změnit heslo</a></td>
	{foreach $data as $key=>$d}
		<tr><td>{$key}</td><td>{$d}</td></tr>
	{/foreach}
	</table>
{else}
	Nic nenalezeno
{/if}
	
	
{/block}